﻿using System;
using System.Collections.Generic;

namespace Models.Models;

/// <summary>
/// 用户优惠券表
/// </summary>
public partial class SUserCoupon
{
    public int Id { get; set; }

    /// <summary>
    /// 用户ID
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// 优惠券名称
    /// </summary>
    public string Name { get; set; } = null!;

    /// <summary>
    /// 满多少
    /// </summary>
    public decimal FullMoney { get; set; }

    /// <summary>
    /// 优惠金额
    /// </summary>
    public decimal Value { get; set; }

    /// <summary>
    /// 失效时间
    /// </summary>
    public string EndDate { get; set; } = null!;

    /// <summary>
    /// 券类型 1-代价 2-折扣
    /// </summary>
    public bool? Type { get; set; }

    /// <summary>
    /// 适用范围
    /// </summary>
    public string? Scope { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string? Remark { get; set; }

    /// <summary>
    /// 领取时间
    /// </summary>
    public int Ctime { get; set; }
}
